define("bmk/core/bmk", 
			["jquery", "bmk/util/debug", "bmk/gui/skin"], 
			function($, Debug, Skin) {
	
	var BMK = {};
	
	/**
	 * Create the BMK Content Management interface  
 	 * @param {Object} Configuration object to override default settings
	 */
	BMK.Create = function(oConfig) {
		
		// Combine config with default settings and store it
		oConfig = $.extend({
			
			bmkPath: "bmk-cms/",
			
			skin: "default",
			skinPath: "bmk-cms/skins/",
			
			modules: []
			
		}, oConfig);
		BMK.config = oConfig;
		
		// Globalize the BMK object to $ namespace
		$.BMK = BMK;
		
		
		// Load the skin
		Skin.Load(BMK.config.skin);
		
		
		
		
		
	}
	
	
	
	
	
	
	
	
	return BMK;
	
});
